#!/usr/bin/env python3
# -*-coding:utf-8 -*-
# __author__=LuLu
from selenium.webdriver.common.by import By

'''
话题页的元素类
'''


class IndexLoc(object):
    top_right_user_name = (By.XPATH, '//*[@id="headerx"]/div/div/div[2]/div[2]/p/span')  # 右上角用户名+欢迎您
    centre_user_name = (By.XPATH, '//*[@id="etravel"]/div/div[3]/div/div/div/h2')  # 中间用户名
    last_login_time = (By.XPATH, '//*[@id="etravel"]/div/div[3]/div/div/div/p')  # 上一次登录时间
